package com.qdxwx.data.service.colleges;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.colleges.Colleges;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface CollegesService {

    int insert(Colleges colleges);

    Colleges get(int id);

    List<Colleges> getList(Colleges colleges, PageRequest page);

    Integer count(Colleges colleges);

    int update(Colleges colleges);

    int delete(int id);

    //浏览数 +1
    int updateView(int id);

    //点赞数 +1
    int updateLike(int id);
}
